﻿using System;
using KPIS.GERP.GFMS.MODEL;
using System.Collections.Generic;

namespace KPIS.GERP.GFMS.IDAL
{
    public interface IDAL_BGM_ProjectOperationExpense
    {
        IList<M_BGM_ProjectOperationExpense> GetFull(Nullable<int> bgm_proj_oper_seq
            , Nullable<int> bgm_source_seq, Nullable<int> bgm_exp_grp_seq);
        IList<M_BGM_ProjectOperationExpense> GetProjectExpense(Nullable<int> bgm_proj_oper_seq
            , Nullable<int> bgm_proj_seq);

        IList<M_BGM_ProjectOperationExpense> GetProjectExpense(int bgm_proj_oper_seq
            , int bgm_proj_seq, int bgm_proj_oper_edit_seq);

        IList<M_BGM_ProjectOperationExpense> GetList(Nullable<int> bgm_proj_oper_seq
            , Nullable<int> bgm_source_seq, Nullable<int> bgm_exp_grp_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmSource(Nullable<int> bgm_proj_oper_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmExpGrp(Nullable<int> bgm_proj_oper_seq
            , Nullable<int> bgm_source_seq);
        IList<M_BGM_ProjectOperationExpense> GetGroupBgmExp(Nullable<int> bgm_proj_oper_seq
            , Nullable<int> bgm_source_seq, Nullable<int> bgm_exp_grp_seq);
        M_BGM_ProjectOperationExpense GetInfo(int seq);
        //string SelectRecentInsertedRoleSeq();
        bool CheckAmount(int bgm_proj_oper_exp_seq, double amount);

        string Insert(M_BGM_ProjectOperationExpense info);
        void Update(M_BGM_ProjectOperationExpense info);
        void Delete(M_BGM_ProjectOperationExpense info);
    }
}
